<?php

namespace app\np\controller;
use app\base\controller\Base;
use think\Request;
use think\Cache;
use think\Config;
use think\Loader;

//基本配置信息
class Comm extends Base
{
    public  $model;

    public function __construct()
    {
        parent::__construct();

    }



    public function get_configs(){
         $res =  get_m_config("q_time");
        return   sucessJson("请求成功",$res);
      //  resJson(1,"获取成功",$res);
    }

    public function get_banks(){
        $res =  get_m_config("bank_key");
        return   sucessJson("请求成功",$res);

    }


    public function get_lows_price(){
                $model = new \app\admin\model\Configs;
                $res =  $model->where("id",45)->find();
        return   sucessJson("请求成功",$res);
    }


}
